
#ifndef _MEMBER_BCUBE_H_
#define _MEMBER_BCUBE_H_

#include <BMesh>
#include <BCube>

namespace BWE
{
	class member_BCube
	{
	public:
		member_BCube(BCube* cube);
		~member_BCube();

		void rebuild();

		BCube*			boss;
		float			length;
		float			width;
		float			height;
		int				lengthSegments;
		int				widthSegments;
		int				heightSegments;
		BIndexArray		innerIndices;
		BHolder<BColorArray> colors;
	};
}

#endif